﻿using Prism.Mvvm;
using Prism.Navigation;
using Prism.Regions;

namespace UIModule.ViewModels
{
    /// <summary>
    /// 关于 （单例即可）
    /// </summary>
    public class AboutViewModel : BindableBase
        , IRegionMemberLifetime
        , IDestructible
        , INavigationAware
    {
        public bool KeepAlive => true;

        public void Destroy()
        {
            
        }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="navigationContext"></param>
        /// <returns></returns>
        public bool IsNavigationTarget(NavigationContext navigationContext)
        {
            return true;
        }

        public void OnNavigatedFrom(NavigationContext navigationContext)
        { 
        }

        public void OnNavigatedTo(NavigationContext navigationContext)
        {
            
        }
    }
}
